package com.jmp.api.crm.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class UserInfoResponse {

    private List<Menu> menus;

    private Integer companyId;
    private String companyName;
    private String userName;

    /**
     * 是否时Boss： 0 不是 1 是
     */
    private int isBoss;
    /**
     * 是否存在代理： 0 没有 1 有
     */
    private int isAgent;

    private int qjAgentState;
    private int qjSupplyState;

    @Data
    @Builder
    public static class Menu {
        private Integer code;
        private String name;
        private List<Menu> menus;
        private String page;
        private String icon;
    }
}
